package tag34_27_08.aufgabenZoo;

import java.util.LinkedList;
import java.util.List;

public class TestZoo {

	public static void main(String[] args) {
		
		Zoo zoo = new Zoo();
		
		//Zebras
		for (int i = 0; i < 5; i++) {
			String name = "Zebra " + i;
			Zebra z = new Zebra(name);
			zoo.addTier(z);
		}

		//Elefanten
		for (int i = 0; i < 3; i++) {
			String name = "Elefant " + i;
			zoo.addTier(new Elefant(name));
		}
		
		System.out.println(zoo);
		
		TierArzt arzt = new TierArzt();
		arzt.behandeln(zoo.getTiere());
		
		System.out.println("-------------------------------");
		System.out.println("-------------------------------");
		System.out.println("-------------------------------");

		System.out.println(zoo);
		
		List<Zebra> listZebras = new LinkedList<Zebra>();
		listZebras.add(new Zebra("Marty"));
		listZebras.add(new Zebra("Marty 2"));
		
		arzt.behandeln(listZebras);
		
	} //end of main

}

















